/*
 * Copyright 2012 NJUT  qixiaobo. All rights reserved.
 */
package com.fujitsu.nanjing.tieba.domain;

import java.util.List;

import org.springframework.stereotype.Component;

import com.fujitsu.nanjing.tieba.ibator.CoreAttach;
import com.fujitsu.nanjing.tieba.ibator.CoreTopic;
import com.fujitsu.nanjing.tieba.ibator.CoreUser;

/**
 * TopicInfo.java
 * 
 * @author Qixiaobo-win8
 */
@Component
public class TopicInfo extends CoreTopic {

	/**
	 *
	 */
	private static final long serialVersionUID = -6704669833190143061L;
	private CoreUser user;
	private List<ReplyInfo> replyInfos;
	private List<CoreAttach> attachInfos;
	private int offset;
	private int length;
	private int page;
	private int totalCount;
	private String boardName;
	public int getOffset() {
		return offset;
	}
	public void setOffset(int offset) {
		this.offset = offset;
	}
	public int getLength() {
		return length;
	}
	public void setLength(int length) {
		this.length = length;
	}
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getTotalCount() {
		return totalCount;
	}
	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}
	public CoreUser getUser() {
		return user;
	}
	public void setUser(CoreUser user) {
		this.user = user;
	}
	public List<ReplyInfo> getReplyInfos() {
		return replyInfos;
	}
	public void setReplyInfos(List<ReplyInfo> replyInfos) {
		this.replyInfos = replyInfos;
	}
	public List<CoreAttach> getAttachInfos() {
		return attachInfos;
	}
	public void setAttachInfos(List<CoreAttach> attachInfos) {
		this.attachInfos = attachInfos;
	}
	public String getBoardName() {
		return boardName;
	}
	public void setBoardName(String boardName) {
		this.boardName = boardName;
	}

}
